/*
 * File:   PathValidatorTest.h
 * Author: Guilherme Monteiro
 *
 */

#ifndef PATHVALIDATORTEST_H
#define	PATHVALIDATORTEST_H

#include <cppunit/extensions/HelperMacros.h>

#include "../headers/PathValidator.h"

class PathValidatorTest : public CPPUNIT_NS::TestFixture {
    CPPUNIT_TEST_SUITE(PathValidatorTest);

    CPPUNIT_TEST(testValidateDotDot);
    CPPUNIT_TEST(testValidatePathToPages);
    CPPUNIT_TEST(testValidatePathToTables);

    CPPUNIT_TEST_SUITE_END();

public:
    PathValidatorTest();
    virtual ~PathValidatorTest();
    void setUp();
    void tearDown();

private:
    void testValidateDotDot();
    void testValidatePathToPages();
    void testValidatePathToTables();

    PathValidator* pathValidator;
};

#endif	/* PATHVALIDATORTEST_H */

